package br.com.dispositivosmoveis.acompanhamentodeconta.abstracts;

import java.util.List;

import android.database.sqlite.SQLiteConstraintException;

public interface AbstractService<E> {
	Long insert(E entity) throws SQLiteConstraintException, Exception;
	void update(E entity) throws SQLiteConstraintException, Exception;
	E obtain(int id);
	List<E> getAll();

}
